home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earcd
/
phase5
/
ppcrelease
/
examples
/
readme.txt
< prev
next >
Wrap
Text File
|
1998-02-21
|
2KB
|
75 lines
loop.c
This program is a simple for(;;) loop on the ppc. Should only
demonstrate how to compile something.
Run: ppcload loop.elf
Trap.c
This program causes a trap on the ppc so the ppctask causes
an exception.
Run: ppcload trap.elf
TaskA.c
This program simples outputs "Task A is active"
Can be used with TaskB to test the multitasking.
Also uses some simple DOS calls.
Run: ppcload taska.elf
TaskB.c
This program simples outputs "Task B is active"
Can be used with TaskA to test the multitasking.
Also uses some simple DOS calls.
Run: ppcload taskb.elf
TaskASemaphore.c
This program outputs "0x%lx:Task A is active" with
semaphore synchronizing.
A public semaphore with the name "TaskSemaphore"
is used to output 10 lines with the mentioned text.
Can be used together with TaskBSemaphore.c to show
the interaction between semaphore locking and multitasking.
Run: ppcload taskasemaphore.elf
TaskBSemaphore.c
This program outputs "0x%lx:Task B is active" with
semaphore synchronizing.
A public semaphore with the name "TaskSemaphore"
is used to output 10 lines with the mentioned text.
Can be used together with TaskASemaphore.c to show
the interaction between semaphore locking and multitasking.
Run: ppcload taskasemaphore.elf
TaskSignalTest.c
This program waits for a certain signal. With the program
tools/ppcsignaltask you can send the signal and the program terminates.
Run: ppcload tasksignaltest.elf
CallM68kSync.c
This program shows how PPCCallM68k is used. In this example the
call is done synchron which should be the normal case.
Run: ppcload CallM68kSync.elf
CallOSASync.c
This program shows how PPCCallOS is used. In this example the
call is done asynchron which means that the result has no meaning.
Asynchron means that the PPC doesn`t wait until this operation completes.
But if another normal systemcall(Not Message operation) is caused, it can
only execute until the last job is completed.
Run: ppcload CallOSASync.elf
Startup.c
This program shows how to the task`s startup/exit msg mechansim to
exit your M68k program without major synchronize problems.
Run: Startup
Msg.c
Msg2.c
Msg2old.c uses oldstyle PPCObtainPort(not recommended)
Msg3.c
Msg4.c
Msg5.c
Msg6.c
Msg7.c
MsgCheck.c
Time.c